package com.zycfc.zsf.boot.office.excel.bean;

import java.io.*;

public class ExcelParseExceptionModel implements Serializable
{
    private static final long serialVersionUID = -6946714944628823872L;
    private Integer rowNum;
    private String fieldName;
    private String fieldDesc;
    private String message;
    
    public ExcelParseExceptionModel() {
    }
    
    public ExcelParseExceptionModel(final Integer rowNum, final String fieldName, final String fieldDesc, final String message) {
        this.rowNum = rowNum;
        this.fieldName = fieldName;
        this.fieldDesc = fieldDesc;
        this.message = message;
    }
    
    public Integer getRowNum() {
        return this.rowNum;
    }
    
    public String getFieldName() {
        return this.fieldName;
    }
    
    public String getFieldDesc() {
        return this.fieldDesc;
    }
    
    public String getMessage() {
        return this.message;
    }
    
    public void setRowNum(final Integer rowNum) {
        this.rowNum = rowNum;
    }
    
    public void setFieldName(final String fieldName) {
        this.fieldName = fieldName;
    }
    
    public void setFieldDesc(final String fieldDesc) {
        this.fieldDesc = fieldDesc;
    }
    
    public void setMessage(final String message) {
        this.message = message;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ExcelParseExceptionModel)) {
            return false;
        }
        final ExcelParseExceptionModel other = (ExcelParseExceptionModel)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$rowNum = this.getRowNum();
        final Object other$rowNum = other.getRowNum();
        Label_0065: {
            if (this$rowNum == null) {
                if (other$rowNum == null) {
                    break Label_0065;
                }
            }
            else if (this$rowNum.equals(other$rowNum)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$fieldName = this.getFieldName();
        final Object other$fieldName = other.getFieldName();
        Label_0102: {
            if (this$fieldName == null) {
                if (other$fieldName == null) {
                    break Label_0102;
                }
            }
            else if (this$fieldName.equals(other$fieldName)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$fieldDesc = this.getFieldDesc();
        final Object other$fieldDesc = other.getFieldDesc();
        Label_0139: {
            if (this$fieldDesc == null) {
                if (other$fieldDesc == null) {
                    break Label_0139;
                }
            }
            else if (this$fieldDesc.equals(other$fieldDesc)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$message = this.getMessage();
        final Object other$message = other.getMessage();
        if (this$message == null) {
            if (other$message == null) {
                return true;
            }
        }
        else if (this$message.equals(other$message)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof ExcelParseExceptionModel;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $rowNum = this.getRowNum();
        result = result * 59 + (($rowNum == null) ? 43 : $rowNum.hashCode());
        final Object $fieldName = this.getFieldName();
        result = result * 59 + (($fieldName == null) ? 43 : $fieldName.hashCode());
        final Object $fieldDesc = this.getFieldDesc();
        result = result * 59 + (($fieldDesc == null) ? 43 : $fieldDesc.hashCode());
        final Object $message = this.getMessage();
        result = result * 59 + (($message == null) ? 43 : $message.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "ExcelParseExceptionModel(rowNum=" + this.getRowNum() + ", fieldName=" + this.getFieldName() + ", fieldDesc=" + this.getFieldDesc() + ", message=" + this.getMessage() + ")";
    }
}
